getTextVisibleLineCount

Returns the number of visible lines in the given text block.

Return

the number of lines of text in the block.

Parameters

block

the text block whose line count should be returned.